﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PubSubLite.Messaging.MessageChannels
{
    /// <summary>
    /// Base class for message channels
    /// </summary>
    public abstract class MessageChannel
    {
        /// <summary>
        /// Default constructor
        /// </summary>
        public MessageChannel()
        {
            ID = Guid.NewGuid();
        }

        /// <summary>
        /// ID of the message channel
        /// </summary>
        public Guid ID
        {
            get;
            private set;
        }
    }
}
